# -*- coding: utf-8 -*-
import uuid
from core import consts
from core.http import http_client

consts.ROOT_URL = "http://127.0.0.1:8801/app-wechat"


def test_one():
    api = "/loginApi/loginForTest"
    url = consts.ROOT_URL + api
    token = uuid.uuid1().__str__()

    data = {
        "key": "1"
    }

    return http_client.post(url=url, data=data, token=token)


def test():
    test_one()


if __name__ == "__main__":
    test()
